<script type="text/javascript">IDLoja='IDLoja=<IDLoja>'; //Obt&#65533;m IDLoja para montar links
	IDLojaNum='<IDLojaNum>';
	sCaminhoImages='<BaseLoja>images/';
</script>
<script type="text/javascript" src="<BaseLoja>htm/LojaLib.js"></script>
<script type="text/javascript" src="<BaseLoja>htm/JurosParcelas.js"></script>
<script type="text/javascript" src="../sistema/magiczoom.js"></script>
<script type="text/javascript" src="<BaseLoja>htm/prototype.js"></script>
<script type="text/javascript" src="<BaseLoja>htm/autocomplete.js"></script>
<script type="text/javascript" src="<BaseLoja>htm/jquery.js"></script>
<script type="text/javascript" src="<BaseLoja>htm/basicJquery.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
	var sPag=document.location.href.toUpperCase();
	if(sPag.indexOf("ADDPRODUTO.ASP")>=0 || sPag.indexOf("ADDMULT.ASP")>=0){
		jQuery('head').append('<link rel="stylesheet" href="<BaseLoja>htm/carrinho.css" type="text/css" />');
	}
	//if(sPag.indexOf("ADDPRODUTO.ASP")>=0 || sPag.indexOf("ADDMULT.ASP")>=0 || sPag.indexOf("FALECONOSCO.ASP")>=0 || sPag.indexOf('TRACK.ASP')>=0){
	if(sPag.indexOf("HOME.ASP")>=0 || sPag == 'HTTP://WWWNEWFITNESSSUPLEME.LOJAVIRTUALFC.COM.BR/'){
		jQuery('td.FundoBarraDireita').show();
		jQuery('body').addClass('home');
	}else{
		jQuery('table.FundoSiteInt').css('position','relative');
		jQuery('table.FundoSiteInt').css('left','-10px');
   	 	jQuery('table.FundoSiteInt').width(965);
   	 	jQuery('#banner img').hide();
	}
	if(sPag.indexOf("LISTAPRODUTOS.ASP")>=0){
		jQuery('#banner img').show();
		jQuery('#idBuscaTable').clone().appendTo(jQuery('#idBuscaTable').parent());
	}
	if(sPag.indexOf("FALECONOSCO.ASP")>=0){
		jQuery('head').append('<link rel="stylesheet" href="<BaseLoja>htm/contato.css" type="text/css" />');
		jQuery('#idTitTextoFC').parent().find('p span').css('margin-left','45px');
	}
	if(sPag.indexOf("CADASTRO.ASP")>=0){}else{
		jQuery('#idTitTextoFC').css('width','780px');
		jQuery('#idTitTextoFC').css('background','url("<BaseLoja>images/titleProd.png")');
	}
	if(sPag.indexOf("ADDPRODUTO.ASP")>=0){
		if(jQuery('#PassosCompra').is(":visible")){}else{
    		jQuery('#idTitTextoFC').css('top',0);
		}
	}
	if(document.location.href.indexOf('prod') >= 0){
    	jQuery('#idDivPagProd').hide();
    	jQuery('.BotVerMais').hide();
	}
	if(jQuery.browser.mozilla)
	{
		jQuery('head').append('<link rel="stylesheet" href="<BaseLoja>htm/MozillaFix.css" type="text/css" />');
	}
	jQuery('head').append('<link rel="shortcut icon" href="<BaseLoja>images/LogoTopo.png" type="image/x-icon" />');
	if(jQuery.browser.msie){
		jQuery('head').append('<link rel="stylesheet" href="<BaseLoja>htm/IEFix.css" type="text/css" />');
	}
	jQuery('.MagicZoomHint').hide();
});
</script>
<!-- Style Busca Detalhada -->
<!--[if IE]><style type="text/css">.productMenuClass3 {margin-left:-70px;margin-top:18px;}.productMenuClass {margin-left:-74px;margin-top:18px;}</style><![endif]-->
<div id='welcomeMessage'>
	<span>Bem Vindo! Faça seu <a href='#'>Login</a> ou Cadastre-se <a href="https://www.rumo.com.br/cadastro.asp?IDLoja=<idlojanum>" class="LinkMenu1">Aqui</a></span>
</id>
<!-- Menu | Cesta | Busca | Topo menu principal -->
<table width="100%" cellpadding="0" cellspacing="0" class="FundoTopo">
	<tr>
		<td>
			<a href='addProduto.asp?IDLoja=<idlojanum>'>
				<div id='cestaTop'>
					<table width="360" border="0" class="FundoCesta">
						<tr>
							<td>
								<p style='position:relative; top: -5px;'>
									<script>
										var valorCesta = '<ValorCesta>';
										valorCesta = 'R$'+valorCesta.replace(".",",");
										document.write(valorCesta);
									</script>
								</p>
							</td>
						</tr>
					</table>
				</div>
			</a>
		</td>
	</tr>
	<tr>
		<td>
		<table width="100%" border="0" class='buscaProduto'>
			<form name="buscaprod" method="GET" action="listaProdutos.asp?IDLoja=<IDLoja>" onSubmit="return VerTexto(this)">
				<tr>
					<td align="right" class="BuscaProcurar">Procurar</td>
					<td class="FundoBusca">
					&nbsp;&nbsp;&nbsp;
					<input type="text" class="InputTextBuscaTopo" name="Texto" id="query" maxlength="70" value="" style="width:440px;">
					<input type="hidden" name="IDLoja" value="<IDLojaNum>">
					<input type="hidden" name="Y" value="<Y>">
					<input type="hidden" name="Digitada" value="True">
					</td>
					<td align="right"  class='btBusca'>
					<input type="image" name="ok" src="<BaseLoja>images/btBusca.png"  />
					</td>
				</tr>
			</form>
		</table>
		</td>
	</tr>
	<tr >
		<td >

		<table width="100%" cellpadding="0" cellspacing="0">
			<tr class="BTMenu">
				<td align="center" width="135" class="FundoMenu2_Off first" id="LinkHome" align="center" OnMouseOut="OnMouseOutMenu2(this)" OnMouseOver="OnMouseOverMenu2(this)">
				<a href="home.asp?IDLoja=<idlojanum>" class="LinkMenu2">Home</a>
				</td>
				<td align="center" width="135" class="FundoMenu2_Off" id="LinkCat" align="center" OnMouseOut="OnMouseOutMenu2(this)" OnMouseOver="OnMouseOverMenu2(this)">
					<a href="#" class="LinkMenu2">
						Aminoácidos
					</a>
				</td>
				<td align="center" width="135" class="FundoMenu2_Off" id="LinkProm" align="center" OnMouseOut="OnMouseOutMenu2(this)" OnMouseOver="OnMouseOverMenu2(this)">
					<a href="#" class="LinkMenu2">Emagracedores</a>
				</td>
				<td align="center" width="135" class="FundoMenu2_Off" id="LinkLanc" align="center" OnMouseOut="OnMouseOutMenu2(this)" OnMouseOver="OnMouseOverMenu2(this)">
					<a href="#" class="LinkMenu2">Massa Muscular</a>
				</td>
				<td align="center" width="135" class="FundoMenu2_Off" id="LinkPedido" align="center" OnMouseOut="OnMouseOutMenu2(this)" OnMouseOver="OnMouseOverMenu2(this)">
					<a href="#" class="LinkMenu2">Roupas & Acessórios</a>
				</td>
				<td align="center" width="135" class="FundoMenu2_Off last" id="LinkAjuda" align="center" OnMouseOut="OnMouseOutMenu2(this)" OnMouseOver="OnMouseOverMenu2(this)">
					<a href="#" class="LinkMenu2">Proteínas</a>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<table id='banner'>
	<tr>
		<td>
		<img src='<BaseLoja>images/banner_home.png' width='960'/>
		</td>
	</tr>
</table>
<div id='MediaTopBar'>
	<span class='label'>Redes Sociais</span><ShareFacebook><ShareTwitter><ShareOrkut>
</div>
<script type="text/javascript">AtivaLinkMenu2();</script>
<script type="text/javascript">AtivaLinkMenu1();</script>
<br />
<script type="text/javascript">new Autocomplete('query', {
		serviceUrl:'BuscaTermosProd.asp?IDLoja=<IDLojaNum>',
		minChars:2,
		maxHeight:300,
		width:430,
		deferRequestBy:500,
		showResults:1,
		autoSubmit:false,
		onSelect: function(value, data) {
			document.buscaprod.Texto.value=value;
			document.buscaprod.submit();
		}
	});
		jQuery('#TabExterna').before("<table width='100%' id='barraTopo'><tr><td class='link first'><a href='#'>A Empresa</a></td><td class='link chat'><a href='#'><span>Chat Online</span> <img src='<BaseLoja>images/chatonline.png'/></a></td><td class='link contato'><a href='faleconosco.asp?IDLoja=<idlojanum>'>Fale conosco</a></td><td class='social'></td></tr></table>");
		jQuery('#query').val('Digite oque procura');
	</script>

<!--[if IE]>
<style type="text/css">
.autocomplete .suggestionsResults{width:40%}
</style>
<![endif]-->
